﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace RiadenieProjektov
{
    abstract class Tabulka
    {
        #region privatne atributy
        protected SqlConnection conn;
        #endregion

        #region properties
        private string aNazovTabulky;

        public string nazovTabulky
        {
            get { return aNazovTabulky; }
            set { aNazovTabulky = value; }
        }


        private List<Stlpec> aStlpce = new List<Stlpec>();

        internal List<Stlpec> stlpce
        {
            get { return aStlpce; }
            set { aStlpce = value; }
        }
        #endregion

        public Tabulka()
        {
            conn = new SqlConnection(RiadenieProjektov.nastavenia.Default.connectionString);
        }
    }
}
